﻿using System.Configuration;

namespace ExcelAutomator.Configuration.Internal
{
	internal class ParameterMappingElement : ConfigurationElement
	{
		public ParameterMappingElement()
		{
		}

		[ConfigurationProperty("id", IsRequired = true)]
		public string Id
		{
			get
			{
				return (string)this["id"];
			}
			set
			{
				this["id"] = value;
			}
		}


		[ConfigurationProperty("attributeName", IsRequired = true)]
		public string AttributeName
		{
			get
			{
				return (string) this["attributeName"];
			}
			set
			{
				this["attributeName"] = value;
			}
		}


		[ConfigurationProperty("executionContext", IsRequired = true)]
		public ExecutionContextConfiguration ExecutionContextConfiguration
		{
			get
			{
				return (ExecutionContextConfiguration) this["executionContext"];
			}
			set
			{
				this["executionContext"] = value;
			}
		}
		
	}
}
